﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Data.Entities.Mes
{
    /// <summary>
    /// MES-SCADA-19 上料计划（三大件）
    /// </summary>
    public class MESMaterailRequest
    {
        public string factory;
        public string center_code;
        public string center_name;

        public List<MESDeliverOrder> detail;
    }

    /// <summary>
    /// 配送单
    /// </summary>
    public class MESDeliverOrder
    {
        public string order_code;    // 订单号
        public string material_code;
        public string material_name;
        
        public string request_time;  // 需求时间
        public string delv_order;    // 配送单
        public string cell_code;
        public string cell_name;
        public string in_port;       // 上料点

        public List<MESDeliverMaterialDetail> detail1;
    }

    /// <summary>
    /// 配料单物料明细
    /// </summary>
    public class MESDeliverMaterialDetail
    {
        public string item_code;      // 物料编号
        public string item_name;      // 物料描述
        public uint qty;              // 数量
        public string fixture_code;   // 工装编号
    }
}
